package ast;

import visitor.*;

public class ExpresionCast extends AbstractExpresion
{
	public ExpresionCast(Tipo tipo, Expresion valor){
		this.cast = tipo;
		this.valor = valor;
	}
	public ExpresionCast(Object tipo, Object valor){
		this.cast = (Tipo)tipo;
		this.valor = (Expresion)valor;
	}


	public Object accept(Visitor v, Object param) { 
		return v.visit(this, param);
	}
	public Expresion valor;
	public Tipo cast;
	@Override
	public boolean isLvalue() {
		// TODO Auto-generated method stub
		return false;
	}
}
